package com.ygbhu.design.builder.demo2;

/**
 * @program: design-pattern
 * @description:
 * @author: smzhu3
 * @create: 2021-06-24 15:22
 **/
public class Test {
    public static void main(String[] args) {
        ProductBuilder productBuilder1 = new ProductBuilder();
        System.out.println(productBuilder1.builderKfc().toString());

        ProductBuilder productBuilder = new ProductBuilder();
        productBuilder.chickenLeg("小鸡腿").coke("小可乐").hamburger("鸡腿堡").frenchFries("小薯条");
        System.out.println(productBuilder.builderKfc().toString());
    }
}
